package com.jielin.handling.mapper.camera;

import com.alibaba.fastjson.JSONObject;
import com.jielin.handling.entity.camera.Camera;
import com.jielin.handling.entity.camera.CameraPhoto;

import java.util.List;
import java.util.Map;

public interface CameraMapper {
    int addCamera(Camera camera);

    int updateCamera(Camera camera);

    List<Map<String, Object>> selectCity();

    List<Map<String, Object>> selectPoliceStation(JSONObject jsonObject);

    List<Camera> selectCamera(Camera camera);

    int addCameraPhoto(CameraPhoto cameraPhoto);
}
